﻿using System;

namespace Mono.Rift.Core.Graphics
{
	public abstract class RenderBuffer
	{
		public RenderBuffer ()
		{
		}

		//public abstract int getSize();
		public abstract object map(int start, int size, int flags = 0);
		public abstract bool unmap(object o);
		//public abstract bool data(int use, byte[] buffer, int size);
		public abstract void clear();
	}
}

